Efficient Hardware-in-the-Loop Models Using Automatic Code Generation with MATLAB/Simulink
نویسندگان
چکیده
Hardware-in-the-loop testing is usually a part of the design cycle control systems. Efficient and fast models can be created in Hardware Description Language (HDL), which implemented Field-Programmable Gate Array (FPGA). Control engineers are more skilled higher-level approaches. HDL derived automatically from schematics have noticeably lower performance, while their equations faster smaller. However, even translated into using might worse than manually coded models. A workflow proposed to achieve manual-like performance with automatic tools. It consists identification similar operations, forcing signal signedness, adjusting multiplier input sizes. detailed comparison was performed between three workflows: (1) translation high-level MATLAB code, (2) Simulink model, (3) working directly HDL. Sources inefficiency were shown buck converter, process validated full-bridge electrical losses Runge–Kutta method. The results showed that approach delivered code very close reference VHDL implementation, for complex designs. Finally, model an off-the-shelf FPGA board suitable hardware-in-the-loop test setup.
منابع مشابه
Automatic Code Generation for SIMD Hardware Accelerators
SIMD hardware accelerators offer an alternative to manycores when energy consumption and performance are critical. For scientific computing, GPGPUs are used in many computers of the top-500. But embedded processors also use accelerators. However such heterogeneous platforms trade ease of developments for performance: The application code and the data must be split between the host and the accel...
متن کاملEfficient automatic code generation for embedded systems
Developing a safety critical real-time application raises high challenge: “failure is not an option”. The code has to be readable, reliable and efficient. For doing so, VERILOG has developed an environment based on formal approach. This is the only way to be in a position to prove that the code is doing what it is supposed to do, always.
متن کاملFacilitate SIMD-Code-Generation in the Polyhedral Model by Hardware-aware Automatic Code-Transformation
Although Single Instruction Multiple Data (SIMD) units are available in general purpose processors already since the 1990s, state-of-the-art compilers are often still not capable to fully exploit them, i.e., they may miss to achieve the best possible performance. We present a new hardware-aware and adaptive loop tiling approach that is based on polyhedral transformations and explicitly dedicate...
متن کاملEfficient Code Generation for Automatic Parallelization and Optimization
Supercompilers look for the best execution order of the statement instances in the most compute intensive kernels. It has been extensively shown that the polyhedral model provides convenient abstractions to find and perform the useful program transformations. Nevertheless, the current polyhedral code generation algorithms lack for flexibility by adressing mainly unimodular or at least invertibl...
متن کاملCode Generation in Automatic Parallelizers
Literature on automatic parallelization generally focuses on data dependency analysis but seldom on code generation. However, this topic is of the utmost importance: the par-allelism extracted by the compiler has both to be expressed in a high-level language, and to t target architectures. This paper describes a code generation scheme for parallelizing compilers.
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Electronics
سال: 2023
ISSN: ['2079-9292']
DOI: https://doi.org/10.3390/electronics12132786